package com.agent.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalTime;

@Data
public class ActivitiesQueryDTO {
    @DateTimeFormat(pattern = "yyyy-M-dd")
    @JsonFormat(pattern = "yyyy-M-dd")
    private LocalDate date;

    @DateTimeFormat(pattern = "H:mm:ss")
    @JsonFormat(pattern = "H:mm:ss")
    private LocalTime startTime;

    @DateTimeFormat(pattern = "H:mm:ss")
    @JsonFormat(pattern = "H:mm:ss")
    private LocalTime endTime;

    private Integer week; // optional: list by week
}
